package com.inspur.his.service.impl;

import com.inspur.his.mapper.MemMapper;
import com.inspur.his.pojo.Mem;
import com.inspur.his.service.MemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;


@Service("memService")
public class MemServiceImpl implements MemService {
    @Autowired
    private MemMapper memMapper;
    @Override
    public List<Mem> memList(HashMap map) { return  memMapper.memList(map); }

    @Override
    public void memAdd(Mem mem) {  memMapper.memAdd(mem);}

    @Override
    public void updateMem(Mem mem) { memMapper.updateMem(mem);}

    @Override
    public Mem getMemById(String memberid) { return  memMapper.getMemById(memberid);}

    @Override
    public void updateczMem(Mem mem) {memMapper.updateczMem(mem);}

    @Override
    public void memchangeStatus(HashMap map) {
        memMapper.memchangeStatus(map);
    }

}
